package com.young.test.customannotation;

import org.apache.log4j.Logger;

public class BrandService {
	/**
	 * Logger for this class
	 */
	protected static final Logger logger = Logger.getLogger(BrandService.class);
	
	private String brandName;
	
	public String getBrandName() {
		return brandName;
	}
	
	public void service(){
		
	}

	public void setBrandName(String brandName) {
		this.brandName = brandName;
	}

	public void info(){
		logger.info("This brand is "+brandName);
	}

}
